package org.wzy.springcloud.feign.api.domain;

/**
 * 人的模型
 *
 * @author wzy_h
 * @version 1.0
 * @date 20:29 2017/11/5
 * @description
 */
public class Person {

    private Long id;

    private String name;

    public Person() {
    }

    public Person(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
